package com.hc.summary.annotation;

import android.app.Activity;

public class IBindViewTool {
    public static void bindviews(Activity activity){
        String aptfilename = activity.getClass().getName() + "_BindViews";
        try {
            Class clazz = Class.forName(aptfilename);
            IBindView iBindView = (IBindView) clazz.newInstance();
            iBindView.bind(activity);
        }catch (Exception e){
            e.printStackTrace();
        }
    }

}
